package com.itmayiedu;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * @description: eureka2注册中心启动类
 * @author: liucancan
 * @create: 2018-11-03 16:29
 **/
@SpringBootApplication
// 开启Eurekaserver服务注解，开启注册中心
@EnableEurekaServer
public class AppEureka2 {

    public static void main(String[] args) {
        SpringApplication.run(AppEureka2.class, args);
    }
}
